<!DOCTYPE html>
<!-- 
The intro page supports a special "intro" protocol in links which KNIME handles, e.g. intro://newWorkflow/. The
actual meaning of the action is implemented in the IntroPage class.
Additionally certain elements in the intro page may be hidden using the checkboxes at the bottom. There is also some
functionality in the IntroPage class the writes the selection into a preference. When adding a new hideable block make
sure that:
- the <div> has a unique id
- the <input> has a name identical to the div's id
- add a onclick callback to the input that shows or hides the div and sets the location using the intro protocol. The
  query parameter for the property must match the div's id

See below for examples.
 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="css/" />
<!--<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,900,900italic,700italic&amp;subset=latin,latin-ext" />-->
<link rel="stylesheet" href="animation.css" type="text/css" />
<link rel="stylesheet" href="knime-fontello-code.css" type="text/css" />
<link rel="stylesheet" href="knime-fontello-embedded.css"
	type="text/css" />
<link rel="stylesheet" href="knime-fontello-ie7-codes.css"
	type="text/css" />
<link rel="stylesheet" href="knime-fontello-ie7.css" type="text/css" />
<link rel="stylesheet" href="knime-fontello.css" type="text/css" />
<link rel="stylesheet" href="knime.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script type="text/javascript">
function showIntro(show) { 
	document.getElementById('intro').style.display=(show ? 'block' : 'none');
	document.getElementById('show-intro').checked = show;
	window.location.href='intro://setProperty/?intro=' + show;
}

function showLinksAndMru(show) {
    document.getElementById('links-and-mru').style.display=(show ? 'block' : 'none');
    document.getElementById('show-links-and-mru').checked = show;
    window.location.href='intro://setProperty/?links-and-mru=' + show;
}

function showUpdate(show) { 
    document.getElementById('update').style.display=(show ? 'block' : 'none');
    document.getElementById('show-update').checked = show;
    window.location.href='intro://setProperty/?update=' + show;
}

</script>
<title>Welcome to KNIME Analytics Platform</title>
</head>
<!-- This page is shown upon each startup. -->
<body>

	<div id="welcome-page-wrapper">
		<div id="welcome-page-header">
			<img src="img/KNIME_logo.png" />
		</div>
		<div id="intro">
			<h1 id="welcome-knime">Welcome to KNIME Analytics Platform!</h1>
			<div id="intro-text">
				<p>New to KNIME? Looking for resources to get started?</p>
				<ul>
					<li>Register for emails with introductory tips 
						<a href="https://www.knime.com/registerwithemil?src=knimeapp">here</a>.
					</li>
					<li>Explore our <a href="https://www.knime.com/quickstart-guide-ap?src=knimeapp">Quickstart Guide</a>.
					</li>
					<li>Check out 
						<a href="https://www.knime.com/blog/seven-things-to-do-after-installing-knime-analytics-platform?src=knimeapp">
							7 things to do after installing KNIME Analytics Platform</a>
					</li>
					<li>Find more hints and how-tos in the <a href="https://www.knime.com/learning-hub?src=knimeapp">
						Learning Hub</a>.
					</li>
					<li>And register for our release and event emails right 
						<a href="https://www.knime.com/newsletter-registration?src=knimeapp">here</a>.
					</li>
				</ul>
				<p>This page will be displayed upon startup but you can
					customize the content using the checkboxes at the bottom.</p>
			</div>
			<div id="news-graphic" style="display: none;">
				<!-- empty -->
			</div>
			<div class="hide-button">
				<img src="img/close-button.png" onclick="showIntro(false);" title="Hide intro text" />
			</div>
		</div>

		<div id="update" style="display: none;">
			<div id="update-inner" style="display: none;">
				<span id="release-available" style="display: none;">New
					releases of the following components are available:</span>

				<ul id="release-list" style="display: none;">
				</ul>
				<span style="display: none;" id="update-not-possible">Unfortunately
					an update is not possible, but you can download the new version
					from <a href="https://www.knime.com/downloads?src=knimeapp">https://www.knime.com/downloads</a>
				</span> <span style="display: none;" id="update-possible"> Click <a
					href="intro://invokeUpdate/">here</a> in order to upgrade to the
					new version.
				</span> <span id="bugfixes-available" style="display: none;">Updates
					for the following components are available:</span>

				<ul id="bugfixes-list" style="display: none;">
				</ul>

				<span style="display: none;" id="install-bugfixes"> Click <a
					href="intro://invokeUpdate/">here</a> in order to install updates.
				</span>
				<div class="hide-button">
					<img src="img/close-button.png" title="Hide update notifications" onclick="showUpdate(false);" />
				</div>
			</div>
		</div>


		<div id="links-and-mru">
			<div id="links">
				<h2 class="sub-heading">Where to go from here</h2>
				<div class="floating-link">
					<a href="intro://newWorkflow/" id="new-workflow" title="Create a new KNIME workflow." class="useful-links">
						<span class="icon-wrench"></span>
						<span>Create new workflow</span>
					</a>
				</div>
				<div class="floating-link">
					<a href="https://www.knime.com/learning-hub?src=knimeapp" id="learning-hub" class="useful-links" title="Takes you to the KNIME Learning Hub with all kinds of introductory material.">
						<span class="icon-book-open"></span>
						<span>Learning Hub</span>
					</a>
				</div>
				<div class="floating-link">
					<a href="intro://browseExamples/" id="examples"	class="useful-links" title="Open the KNIME Public Server (see the KNIME Explorer at the top-left) and browse through numerous examples.">
						<span class="icon-chart-line"></span>
						<span>Browse example workflows</span>
					</a>
				</div>
				<div class="floating-link">
					<a href="intro://installExtensions/" id="install" class="useful-links" title="Launch the install wizard to get additional KNIME features (e.g. Weka, R, Chemistry...).">
						<span class="icon-download"></span>
						<span>Get additional nodes</span>
					</a>
				</div>
				<div class="floating-link">
					<a href="intro://closeIntro/" id="close" class="useful-links" title="Closes this intro page and takes you to your workflows.">
						<span class="icon-angle-circled-right"></span>
						<span>Go to my workflows</span>
					</a>
				</div>

				<div class="floating-link">
					<a href="intro://mountServer/" id="mount-server" title="Opens the KNIME Explorer mount editor to define new server connections" class="useful-links">
						<span class="icon-flow-tree"></span>
						<span>Mount	KNIME Server</span>
					</a>
				</div>
			</div>

			<div id="mru">
				<h2 class="sub-heading">Most recently used workflows</h2>
				<div id="mruScrollBox">
					<ul id="mruList" />
				</div>
			</div>
			<div class="hide-button">
				<img src="img/close-button.png" title="Hide links and most recently used workflows" onclick="showLinksAndMru(false);" />
			</div>
		</div>


		<div id="news" style="display: none;">
			<h2>News</h2>
		</div>

		<div id="tips" style="display: none;">
			<h2>Tips &amp; Tricks</h2>
		</div>

		<div id="properties">
			<input type="checkbox" name="intro" id="show-intro" onclick="showIntro(document.getElementById('show-intro').checked);" />
			<label for="show-intro">Show intro text at next start</label><br />
			<input type="checkbox" name="update" id="show-update" onclick="showUpdate(document.getElementById('show-update').checked);" />
			<label for="show-update">Show update notifications at next start</label><br />
			<input type="checkbox" name="links-and-mru" id="show-links-and-mru" onclick="showLinksAndMru(document.getElementById('show-links-and-mru').checked);" />
			<label for="show-links-and-mru">Show links and most recently used workflows at next start</label><br />
		</div>
	</div>
</body>
</html>
